package com.flower.auth.convert;

import com.flower.auth.dto.AuthPermissionDTO;
import com.flower.auth.dto.AuthRolePermissionDTO;
import com.flower.domain.entity.AuthPermissionBO;
import com.flower.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-16 20:21
 */
@Mapper
public interface AuthRolePermissionDTOConverter {

    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO convertDTOToBO(AuthRolePermissionDTO authRolePermissionDTO);
}
